package com.example.demo.component;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
public class Test {
    @Autowired
    private StudentComponent studentComponent;
    @PostConstruct
    public void test(){
        System.out.println(studentComponent);
    }
}
